package com.cdelink.xzgy.ftp.common;

/**
 * 常量类
 *
 * @author shixuelian
 */
public interface Constants {
    /**
     * 用户空闲无操作30分钟后登录过期:30 * 60
     */
    long USER_SESSION_IDLE_DURATION = 2 * 24 * 60 * 60L;
    /**
     * 文件新增
     */
    int FILE_INSERT = 2;
    /**
     * 文件覆盖
     */
    int FILE_REPEAT = 1;
    /**
     * 图片格式预览支持
     */
    String[] PIC_SUFFIX = {"jpg", "png","jpeg"};
    /**
     * office文件格式预览支持
     */
    String[] OFFICE_SUFFIX = {"pdf", "doc", "docx", "ppt", "pptx", "xls", "xlsx"};

}
